<!DOCTYPE HTML>
<html>
<head>
    <title>登录</title>
</head>
<body>
<input type="hidden" id="TenantId" name="TenantId" value="" />
<div class="header"></div>
<div class="loginWraper">
    <div id="loginform" class="loginBox">
        <form class="form form-horizontal" method="post" action="j_login">
            <#if Session.SPRING_SECURITY_LAST_EXCEPTION?? && Session.SPRING_SECURITY_LAST_EXCEPTION.message?has_content>
                <div class="row">
                    <div class="formControls col-8 col-offset-3">
                        <label class="label-warning">${Session.SPRING_SECURITY_LAST_EXCEPTION.message!}</label>
                    </div>
                </div>
            </#if>
            <div class="row cl">
                <label class="form-label col-3"><i class="Hui-iconfont">&#xe60d;</i></label>

                <div class="formControls col-8">
                    <input id="username" name="username" type="text" placeholder="账户" class="input-text size-L">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-3"><i class="Hui-iconfont">&#xe60e;</i></label>

                <div class="formControls col-8">
                    <input id="password" name="password" type="password" placeholder="密码" class="input-text size-L">
                </div>
            </div>
            <div class="row cl">
                <div class="formControls col-8 col-offset-3">
                    <input class="input-text size-L" type="text" placeholder="验证码" name="kaptcha" style="width:150px;">
                    <img id="kaptcha_img" src="${basePath}/captcha?_${.now?string('yyyyMMddHHmmssSSS')!}"
                         height="40px" width="100px">
                    <a id="kanbuq" href="javascript:void(0)"
                       onclick="document.getElementById('kaptcha_img').src = '${basePath}/captcha?_' + Date.now();">看不清，换一张</a>
                </div>
            </div>
            <div class="row">
                <div class="formControls col-8 col-offset-3">
                    <input name="" type="submit" class="btn btn-success radius size-L"
                           value="&nbsp;登&nbsp;&nbsp;&nbsp;&nbsp;录&nbsp;">
                    <input name="" type="reset" class="btn btn-default radius size-L"
                           value="&nbsp;取&nbsp;&nbsp;&nbsp;&nbsp;消&nbsp;">
                </div>
            </div>
        </form>
    </div>
</div>
<div class="footer">Copyright 小轮科技 by poinget.com</div>
</body>
</html>